<?php
include dirname(__FILE__) . '/../../class/_core.php';
include dirname(__FILE__) . '/../../class/customer_order.php';

$consumer_order_id = $_GET['id'];
$state = $_GET['state'];
$row = Consumer_order::check_item($consumer_order_id);
$order = Consumer_order::getData($consumer_order_id);

$Smarty->assign('state',$state);
$Smarty->assign('order', $row);
$Smarty->assign('orderDetail', $order);
$Smarty->display('public/check_detail.tpl');